#!/usr/bin/env python
# encoding: utf-8
"""
#-------------------------------------------------------------------#
#                   CONFIDENTIAL --- CUSTOM STUDIOS                 #     
#-------------------------------------------------------------------#
#                                                                   #
#                   @Project Name : Globallawonline                #
#                                                                   #
#                   @File Name    : settings.py                      #
#                                                                   #
#                   @Programmer   : 李建                            #
#                                                                   #  
#                   @Start Date   : 2021/1/20 9:39                 #
#                                                                   #
#                   @Last Update  : 2021/1/20 9:39                 #
#                                                                   #
#-------------------------------------------------------------------#
# Classes:                                                          #
#                                                                   #
#-------------------------------------------------------------------#
"""
# 采集的sql数据库信息
CJSQLCON = {
    'HOST': '114.115.219.219',
    'PORT': 3306,
    'DB': 'globallegaldatabase',
    'USER': 'root',
    'PASSWD': 'xinanzhengfadaqxueapp03!',
    'CHARSET': 'utf8'
}
# 这是加工服务器的mysql数据库连接属性
JGSQLCON = {
    'HOST': '114.116.40.73',
    'PORT': 3306,
    'DB': 'southwestpoliticsun',
    'USER': 'lj',
    'PASSWD': 'xinanzhengfadaqxuelj!',
    'CHARSET': 'utf8'
}
# Redis数据库信息
REDISCON = {
    'HOST': '114.115.219.219',
    'PORT': 6379,
    'PASSWD': 'CNKIcnki614',
    'DB': '1'
}
# Ftp的连接信息
FTPCONN = {
    'host': '192.168.0.186',
    'port': 21,
    'username': 'ljuser',
    'password': 'cnkicnki614'
}
FILES_DIR= r'D:\GlobalLawFiles'  # 法律文件目录路径
CJSQLTABLE = ['lawtext','treaty', 'lawcasetext']   # 采集数据库的表
JGSQLTABLE = {'lawtext': '`Law`', 'lawcasetext': '`case`', 'treaty': '`treaty`'}    # 加工数据库对应的表
REDIS_KEY = {'lawtext': 'Law', 'lawcasetext': 'Lawcase', 'treaty':'Treaty'}    # Redis数据库的键